gdk: Compress window state events
authorJonas Ådahl <jadahl@gmail.com>
Fri, 26 Feb 2016 06:10:06 +0000 (14:10 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 2 Mar 2016 02:22:17 +0000 (10:22 +0800)
commit9e2207b2b0d1a8c5bdca8f56f370750b4c791204
tree5aa299154679a135b71a7775d5a432177cbdd41f
parent956b2ff998d851c9161dfd231d4f5e1de080346b
gdk: Compress window state events

If there are already a window state event for a given window queued
when the window state is changed, drop that event and queue a new event
with a changed_mask based on the state before last event that was queue
without compression.

https://bugzilla.gnome.org/show_bug.cgi?id=762468
gdk/gdkevents.c
gdk/gdkinternals.h